class A:
	def __init__(self, name):
		self.__name = name

	def get_name(self):
		print(self.__name)

	def inner(self):
		print(self.__name)


class B:

	def __init__(self, score):
		self.__score = score

	def foo(self, a):
		print(self.__score)
		a.inner()
		self.inner()

	def inner(self):
		print(self.__score)


a = A("a")
b = B("b")

b.foo(a)

